<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>文档标题</title>
    <script>
      function zhi_shu(num) {
        for (let i = 2; i < num / 2 + 1; i++) {
          if (num % i === 0) {
            return true;
          }
        }
        return false;
      }

      for (let i = 2; i <= 10000; i++) {
        if (!zhi_shu(i)) {
          console.log(i)
        }
      }
    </script>
</head>
<body>
<h1>我的第一个HTML页面</h1>
<p>我的第一个段落。</p>
</body>
</html>
